- CANDY CRISIS FOR OS X -

This is a Metrowerks CodeWarrior Pro 8.3 project. You will have to provide
your own copy of CodeWarrior as it is a commercial product. 

Candy Crisis. is the main project file. Simply open it up with CodeWarrior and
choose "Make" to compile everything into the "Candy Crisis" application. 

DEVELOPER NOTES:

The code is structured almost identically to the PC version. There are several
minor differences; the most notable change is that the Mac graphics code makes 
heavy use of GWorlds and CopyBits, whereas the PC version was uses SDL and
its associated graphics structures. Also, the Mac version plays sounds with
the Sound Manager and libmikmod (freebie solutions), but the PC version
uses FMOD. If you are planning on doing large revisions of the game code 
and want to ship them on both Mac and PC, you may wish to consider writing 
a mini SDL-like graphics layer for the Mac, since this would allow the Mac 
and PC to share 90%+ of the game code and is a very low-effort project. 
(I estimate 2-3 days to get it done, at worst. And the only things that 
would differ at that point would be sound support and event handling, and 
it's probably simplest just to keep those parts as-is.) Alternatively, the 
SDL-based version could be shippable on the Mac, given some cleanup to the 
SDL library--in particular, the blitters are currently very slow, and
there are some cursor handling bugs. I have already invested a bit of effort 
trying to clean up Mac SDL version but I'm not sure it's doable without
a fair amount of time being spent.

Libmikmod appears to play sound at the wrong sample rate in Mac OS X 10.4.
I have not attempted to debug this issue. It would probably be easiest to
just switch to Fmod.

One final note--please forgive any sloppy coding practices! Most of the code 
here is between five and eight years old. The code I write nowadays looks 
much cleaner than this, I swear. 

Questions? <johnstiles@warpmail.net>
